<script>
import Vue from "vue";
import moment from 'moment'
import pageAnimation from './components/page-animation'
import { K_USER_TOKEN, TIMESTAMP, IS_PROD } from '@/shared/consts'

export default {
  mixins: [
    pageAnimation
  ],

  globalData: {
    userToken: uni.getStorageSync(K_USER_TOKEN),
    timeStamp: typeof $TIMESTAMP === 'undefined' ? undefined : $TIMESTAMP,
    webpackEnv: typeof $WEBPACK_ENV === 'undefined' ? undefined : $WEBPACK_ENV,
  },
  onLaunch: function() {
    uni.getSystemInfo({
      success: function(e) {
      }
    });
	},
  onShow: function() {
  },
  onHide: function() {
  }
};
</script>

<style>
@import "colorui/main.css";
@import "colorui/icon.css";
@import "colorui/animation.css";
@import "style.css";
</style>
